import { WeilaStorageInterface } from "weilasdk_lite";

export class WeilaMiniStorage implements WeilaStorageInterface {
    public getItem(key: string): any {
        wx.getStorageSync(key);
    }

    public setItem(key: string, value: string): void {
        wx.setStorageSync(key, value);
    }

    public removeItem(key: string): void {
        wx.removeStorageSync(key);
    }
}